class VaultConfig {
    constructor(vaults) {
        this.vaults = vaults.map(vault => ({
            name: vault.name,
            path: vault.path,
            patterns: vault.patterns, // 文件匹配规则
            skipPatterns: vault.skipPatterns,
            handler: vault.handler, // 处理器类型
            watchEnabled: vault.watchEnabled === true,
            cacheEnabled: vault.cacheEnabled !== false
        }));
    }
}

module.exports = VaultConfig